<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>【用户注册】——HTML5在线学习网站</title>
		<link href="signup.css" type="text/css" rel="stylesheet" />
		
	</head>
	<body>
		<main id="main_re">
			<h1>用户注册</h1>
			<form action="#" method="post">
				<label for="username">用户昵称：</label>
				<input type="text" id="username" placeholder="中文、英文、数字或下划线" pattern="^[\u4e00-\u9fa5A-Za-z0-9_]{1,20}$">
				<br />
				<label for="email">注册邮箱：</label>
				<input type="email" id="email"  placeholder="请输入常用邮箱">
				<br />
				<label for="password">注册密码：</label>
				<input type="password" id="password" pattern="^[A-Za-z0-9]{6,8}$" placeholder="6-8位英文或数字">
				<br />
				<label for="repassword">确认密码：</label>
				<input type="password" id="repassword" pattern="^[A-Za-z0-9]{6,8}$" placeholder="请再次输入注册密码" >
				<br />
				<input type="submit" id="fb_sub" name="submit" value="" />
				<input type="reset" id="fb_res" name="reset" value="" />
			</form>
		</main>
	</body>
</html>
